using System;
using System.Collections.Generic;
using System.Text;

using Pampa.CRUD.Core;
using Pampa.CRUD.Security;

namespace Demo.Model.Utils
{
    public class SecurityManager : ISecurityManager
    {
        private static SecurityManager instance = new SecurityManager();

        public static SecurityManager Instance
        {
            get { return instance; }
        }
        
        #region Miembros de ISecurityManager

        public PermissionType GetPermission(object entity, string action)
        {
            return PermissionType.Edit;
        }

        #endregion
    }
}
